package com.learner.course.repository;

import com.learner.pojo.course.CourseMedia;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
* @author ice2020x
* @Date: 2023/3/22
* @Description:
**/
@Repository
public interface CourseMediaRepository  extends JpaRepository<CourseMedia, String> {

    /**
     * 获取课程计划
     *
     * @param planId 课程计划id
     * @return 结果
     */
    CourseMedia findByPlanId(String planId);
}
